package com.wind.homework.mapper;


import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface InfoMapper {
    @Insert("INSERT INTO `info` (illegalCase,company,nature,personCode,personName,caseCode,illegalType,illegalFacts,cfyj,cflb,cfnr,cfrq,cfyxq,cfjzq,cfjg,cfjgCode,dataFrom,dataFromCode,jycf,beizhu) VALUES (#{illegalCase},#{company},#{nature},#{personCode},#{personName},#{caseCode},#{illegalType},#{illegalFacts},#{cfyj},#{cflb},#{cfnr}," +
            "#{cfrq},#{cfyxq},#{cfjzq},#{cfjg},#{cfjgCode},#{dataFrom},#{dataFromCode},#{jycf},#{beizhu})")
    int insertInfo(@Param("illegalCase") String illegalCase, @Param("company") String company, @Param("nature") String nature, @Param("personCode") String personCode, @Param("personName") String personName,
                   @Param("caseCode") String caseCode, @Param("illegalType") String illegalType, @Param("illegalFacts") String illegalFacts, @Param("cfyj") String cfyj,@Param("cflb") String cflb,
                   @Param("cfnr") String cfnr,@Param("cfrq") String cfrq,@Param("cfyxq") String cfyxq,@Param("cfjzq") String cfjzq,@Param("cfjg") String cfjg,@Param("cfjgCode") String cfjgCode,
                   @Param("dataFrom") String dataFrom,@Param("dataFromCode") String dataFromCode,@Param("jycf") String jycf,@Param("beizhu") String beizhu);
}



